package code.example.base.reflect;

import code.example.tool.LogFactory;
import org.junit.Test;

import javax.jws.WebService;
import java.util.List;

@WebService
public class BikeProducer  extends GenerateHuman<Part,Bike>{

    String companyName;

    public int age=10;

    List<String> strList;
    @Override
    public int getAge() {
        return age;
    }

    @Override
    public void setAge(int age) {
        this.age = age;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    private String getJobDescription(){
       return "product bike";
    }
    @Override
    public Bike work(Part part) {
        LogFactory.getLog().info(" work with part ");
        return new Bike();
    }


}
